<?php


namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use DateTimeInterface;

class WebsitesAdmin extends Model
{
    //关键词分类表
    protected $table = 'pd_websites_admin';
    //放开白名单
    protected $guarded = [];
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [

    ];


    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [

    ];

    protected function serializeDate(DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }

}
